{"ast":null,"code":"import ClassNameGenerator from '../ClassNameGenerator';\nconst globalStateClassesMapping = {\n  active: 'active',\n  checked: 'checked',\n  completed: 'completed',\n  disabled: 'disabled',\n  error: 'error',\n  expanded: 'expanded',\n  focused: 'focused',\n  focusVisible: 'focusVisible',\n  required: 'required',\n  selected: 'selected'\n};\nexport default function generateUtilityClass(componentName, slot) {\n  let globalStatePrefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Mui';\n  const globalStateClass = globalStateClassesMapping[slot];\n  return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;\n}","map":{"version":3,"names":["ClassNameGenerator","globalStateClassesMapping","active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected","generateUtilityClass","componentName","slot","globalStatePrefix","globalStateClass","generate"],"sources":["/data/messenger.client/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js"],"sourcesContent":["import ClassNameGenerator from '../ClassNameGenerator';\nconst globalStateClassesMapping = {\n  active: 'active',\n  checked: 'checked',\n  completed: 'completed',\n  disabled: 'disabled',\n  error: 'error',\n  expanded: 'expanded',\n  focused: 'focused',\n  focusVisible: 'focusVisible',\n  required: 'required',\n  selected: 'selected'\n};\nexport default function generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {\n  const globalStateClass = globalStateClassesMapping[slot];\n  return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;\n}"],"mappings":"AAAA,OAAOA,kBAAkB,MAAM,uBAAuB;AACtD,MAAMC,yBAAyB,GAAG;EAChCC,MAAM,EAAE,QAAQ;EAChBC,OAAO,EAAE,SAAS;EAClBC,SAAS,EAAE,WAAW;EACtBC,QAAQ,EAAE,UAAU;EACpBC,KAAK,EAAE,OAAO;EACdC,QAAQ,EAAE,UAAU;EACpBC,OAAO,EAAE,SAAS;EAClBC,YAAY,EAAE,cAAc;EAC5BC,QAAQ,EAAE,UAAU;EACpBC,QAAQ,EAAE;AACZ,CAAC;AACD,eAAe,SAASC,oBAAoB,CAACC,aAAa,EAAEC,IAAI,EAA6B;EAAA,IAA3BC,iBAAiB,uEAAG,KAAK;EACzF,MAAMC,gBAAgB,GAAGf,yBAAyB,CAACa,IAAI,CAAC;EACxD,OAAOE,gBAAgB,GAAI,GAAED,iBAAkB,IAAGC,gBAAiB,EAAC,GAAI,GAAEhB,kBAAkB,CAACiB,QAAQ,CAACJ,aAAa,CAAE,IAAGC,IAAK,EAAC;AAChI"},"metadata":{},"sourceType":"module"}